package com.yfp.operation.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import lombok.Data;

/**
 * 打卡管理-打卡规则表
 * @TableName activity_sign_ins_rules
 */
@TableName(value ="activity_sign_ins_rules")
@Data
public class ActivitySignInsRules implements Serializable {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 打卡管理主表id
     */
    private Long activitySignInsId;

    /**
     * 兑换规则-满N单
     */
    private Integer rules;

    /**
     * 兑换奖品类型:[1优惠券、2礼包、3实体商品]
     */
    private Integer rewardType;

    /**
     * 奖品id
     */
    private Long rewardId;

    /**
     * 活动总库存
     */
    private Long totalInventory;

    /**
     * 剩余库存
     */
    private Long residualInventory;

    /**
     * 赠券数-发放数量
     */
    private Integer distributionQuantity;

    /**
     * 奖励缩略图图片地址
     */
    private String rewardImageUrl;

    /**
     * 通知弹窗图片地址
     */
    private String popupImageUrl;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}